package com.xxxx.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.xxxx.blog.entity.Channel;

import java.util.List;

public interface ChannelService extends IService<Channel> {
    int create(Channel channel);

    int delete(Integer id);

    int update(Channel channel);

    PageInfo<Channel> query(Channel channel);

    List<Channel> getChannelByPos(String pos);

    List<Channel> all();

    Channel detail(Integer id);

    int count(Channel channel);
}
